<nav>
  <a routerLink="/heroes" routerLinkActive="active" id="heroes">所有车辆</a>
  <a routerLink="/myheroes" routerLinkActive="active" id="myheroes">我的租车</a>
</nav>

<div>
  <router-outlet></router-outlet>
</div>
